Localizing Email Models |
|
You can localize email models such that messages are displayed to different users in different languages. For example, you can localize the models to display messages in French for users who have selected French as their preferred language.
- From the /Cordys/notification/emailmodels/models of the XML store, open the XML file containing the email model.
- Create a copy of the XML file in the same directory.
- Open the XML file (copy), make the required changes, and save it
- Rename the file by adding locale as the suffix. Example: For a specific locale, the file name has a locale suffix, such as _fr_FR for French in France.
Important:
- The name of the email model must be the same as the name of the localized email model. For example, if the name of the email model isOrder, the name of the localized model must beOrder_fr_FR.
- The receiver's browser must support the character-set of the selected locale.
The email model is localized and can be called, by providing thelocalein theLANGUAGEtag of the Deliver Message SOAP request.
If the locale specified in the message does not exist in the XML Store, then the Process Platform default locale setting is taken. The Process Platform default locale is set while installing Process Platform and is found as a property in the wcp.properties file.